from numpy import array

""" class instance is a couple of a feature vector and a label
"""


class instance:
    
    def __init__(self, list, label):
        self.features = array(list) 
        self.label = label
        self.list = list
    
    def __len__(self):
        return len(self.list)